package com.icode.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created with IntelliJ IDEA.
 * User: ZhongGang
 * Date: 13-6-22
 * Time: 上午12:29
 */
@Controller
public class IndexController {

    @RequestMapping("/test")
    public String test() {
        return "front/houseInfoNew";
    }

    @RequestMapping("/admin")
    public String index() {
        return "back/hotel/reserveOverview";
    }

    @RequestMapping("/")
    public String front() {
        return "index";
    }

    @RequestMapping("/houseBaseList")
    public String houseBaseList() {
        return "front/houseBaseList";
    }

    @RequestMapping("/houseInfo")
    public String houseInfo() {
        return "front/houseInfo";
    }

    @RequestMapping("/houseTypeList")
    public String houseTypeList() {
        return "front/houseTypeList";
    }

    @RequestMapping("/usersInfo")
    public String usersInfo() {
        return "front/user/usersInfo";
    }

    @RequestMapping("/page")
    public String page() {
        return "front/pager";
    }

    @RequestMapping("/about")
    public String about() {
        return "front/about";
    }

    @RequestMapping("back")
    public String back() {
        return "back/index";
    }
}
